﻿@model BasicCMS.Core.ViewModels.LogOnViewModel
@{
    ViewBag.Title = "LogOn";
}
@using (Html.BeginForm())
{
    <table>
        <tr>
            <th>用户名:</th>
            <td>@Html.TextBoxFor(m => m.LoginName)</td>
        </tr>
        <tr>
            <th>密码:</th>
            <td>@Html.PasswordFor(m => m.Password)</td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="登陆" />
                <span style="color: red">@ViewData["Message"]</span>
            </td>
        </tr>
    </table>
}